package com.zxq.lawenf.pojo;

/**
 * 	朝代的枚举
 * 
 * @author 章晓琦
 */
public enum AApprovalEnum
{
	/* 状态:0:草稿;1:已发布;2:审批通过;3:审批失败 */
	STATUS_DRAFT(Byte.valueOf("0"), "草稿"), 
	STATUS_PUBLISHED(Byte.valueOf("1"), "已发布"),
	STATUS_AUDITSUCCED(Byte.valueOf("2"), "审批通过"),
	STATUS_FAILED(Byte.valueOf("3"), "审批失败"),
	
	/* 类型:0:转正申请;1:调职申请;2:辞职申请;3:退休申请 */
	APPTYPE_ZHUANZHENG(Byte.valueOf("0"), "转正"), 
	APPTYPE_DIAOZHI(Byte.valueOf("1"), "调职"),
	APPTYPE_CIZHI(Byte.valueOf("2"), "辞职"),
	APPTYPE_TUIXIU(Byte.valueOf("3"), "退休"),
	;

	private byte status;
	private String name;

	private AApprovalEnum(byte status, String name)
	{
		this.status = status;
		this.name = name;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}
}
